<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hello Trae - 现代开发体验</title>
    <style>
        /* 基础样式与重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 自定义变量 */
        :root {
            --primary-color: #6366f1; /* 主色调 - 靛蓝色 */
            --primary-light: #818cf8;
            --primary-dark: #4f46e5;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --accent-color: #ec4899;
            --border-radius: 16px;
            --transition-base: all 0.3s ease;
        }
        
        /* 字体设置 */
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, #e2e8f0 100%);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            transition: var(--transition-base);
        }
        
        /* 容器样式 */
        .container {
            background: var(--bg-primary);
            border-radius: var(--border-radius);
            padding: 3rem;
            text-align: center;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
            max-width: 500px;
            width: 100%;
            transform: translateY(0);
            transition: var(--transition-base);
            position: relative;
            overflow: hidden;
        }
        
        .container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }
        
        .container:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 15px 15px -5px rgba(0, 0, 0, 0.04);
        }
        
        /* 标题样式 */
        h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1.1;
        }
        
        /* 副标题样式 */
        p {
            font-size: 1.125rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.6;
        }
        
        /* 按钮样式 */
        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 9999px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition-base);
            text-decoration: none;
            box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
        }
        
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 10px -2px rgba(99, 102, 241, 0.3);
        }
        
        .btn:active {
            transform: translateY(0);
        }
        
        /* 动画效果 */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }
        
        .fade-in-up {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .container h1 {
            animation-delay: 0.1s;
        }
        
        .container p {
            animation-delay: 0.3s;
        }
        
        .container .btn {
            animation-delay: 0.5s;
        }
        
        /* 装饰元素 */
        .decorative-circle {
            position: absolute;
            border-radius: 50%;
            z-index: -1;
            opacity: 0.5;
        }
        
        .circle-1 {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
            top: -50px;
            right: -50px;
            animation: pulse 8s infinite ease-in-out;
        }
        
        .circle-2 {
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
            bottom: -30px;
            left: -30px;
            animation: pulse 6s infinite ease-in-out;
            animation-delay: 2s;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .container {
                padding: 2rem;
            }
            
            h1 {
                font-size: 2.25rem;
            }
            
            p {
                font-size: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 1rem;
            }
            
            .container {
                padding: 1.5rem;
                border-radius: 12px;
            }
            
            h1 {
                font-size: 1.875rem;
            }
        }
    </style>
</head>
<body>
    <div class="decorative-circle circle-1"></div>
    <div class="decorative-circle circle-2"></div>
    
    <div class="container fade-in-up">
        <h1>Hello Trae!</h1>
        <p>欢迎使用 Trae AI 开发环境，让我们一起创建出色的项目</p>
        <button class="btn fade-in-up" onclick="showMessage()">开始探索</button>
    </div>
    
    <script>
        // 平滑滚动效果
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function(e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
        
        // 简单的交互功能
        function showMessage() {
            const container = document.querySelector('.container');
            const originalP = container.querySelector('p');
            const originalText = originalP.textContent;
            
            // 更新文本
            originalP.textContent = '准备好开始您的开发之旅了吗？';
            originalP.style.color = 'var(--primary-color)';
            originalP.style.fontWeight = '500';
            
            // 添加动画
            originalP.classList.add('fade-in-up');
            setTimeout(() => {
                originalP.classList.remove('fade-in-up');
            }, 600);
            
            // 2秒后恢复
            setTimeout(() => {
                originalP.textContent = originalText;
                originalP.style.color = '';
                originalP.style.fontWeight = '';
            }, 2000);
        }
        
        // 页面加载完成后的额外效果
        window.addEventListener('load', () => {
            // 可以在这里添加更多交互逻辑
        });
    </script>
</body>
</html>